package com.modules.asset.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * User 更新请求。
 */
@Data
public class UserUpdateRequest implements Serializable {

    @Schema(description = "用户名,用于登录")
    private String username;
    @Schema(description = "加密后的密码")
    private String password;
    @Schema(description = "邮箱,用于找回密码等")
    private String email;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "用户昵称")
    private String nickname;
    @Schema(description = "头像图片URL")
    private String avatar;
    @Schema(description = "性别：0-未知,1-男,2-女")
    private Integer gender;
    @Schema(description = "状态：0-禁用,1-正常")
    private Integer status;
    @Schema(description = "最后登录时间")
    private java.time.LocalDateTime last_login_time;
    @Schema(description = "创建时间")
    private java.time.LocalDateTime created_at;
    @Schema(description = "更新时间")
    private java.time.LocalDateTime updated_at;
}
